export interface TabList {
  key: string | number;
  title: string;
  component: string;
}

export interface DataList {
  code?: string;
  title?: string;
  name?: string;
  type?: string | number;
}

//layer3tab
export const layer1: TabList[] = [
  {
    title: '属性',
    key: 'Attribute',
    component: 'Attribute',
  },
  {
    title: '权限',
    key: 'Authority',
    component: 'Authority',
  },
  {
    title: '添加',
    key: 'AttributeAdd',
    component: 'AttributeAdd',
  },
  {
    title: '记录',
    key: 'RecordList',
    component: 'RecordList',
  },
];
//layer2tab
export const layer2: TabList[] = [
  {
    title: '属性',
    key: 'Attribute',
    component: 'Attribute',
  },
  {
    title: '权限',
    key: 'Authority',
    component: 'Authority',
  },
  {
    title: '添加',
    key: 'AttributeAdd',
    component: 'AttributeAdd',
  },
];
// layer3tab
export const layer3: TabList[] = [
  {
    title: '流程图',
    key: 'FlowPicture',
    component: 'FlowPicture',
  },
  {
    title: '属性',
    key: 'Attribute',
    component: 'Attribute',
  },
  {
    title: '表单',
    key: 'FormCode',
    component: 'FormCode',
  },
  {
    title: '权限',
    key: 'Authority',
    component: 'Authority',
  },
  {
    title: '显示规则',
    key: 'DisplayRules',
    component: 'DisplayRules',
  },
  {
    title: '记录',
    key: 'RecordList',
    component: 'RecordList',
  },
  {
    title: '月统计',
    key: 'MonthlyStatistics',
    component: 'MonthlyStatistics',
  },
  {
    title: '年统计',
    key: 'YearStatistics',
    component: 'YearStatistics',
  },
  {
    title: '效率分析',
    key: 'EfficiencyAnalysis',
    component: 'EfficiencyAnalysis',
  },
];

// layer3tab 自由流程
export const layer4: TabList[] = [
  {
    title: '设置',
    key: 'Config',
    component: 'Config',
  },
  {
    title: '属性',
    key: 'Attribute',
    component: 'Attribute',
  },
  {
    title: '表单',
    key: 'FormCode',
    component: 'FormCode',
  },
  {
    title: '权限',
    key: 'Authority',
    component: 'Authority',
  },
  {
    title: '显示规则',
    key: 'DisplayRules',
    component: 'DisplayRules',
  },
  {
    title: '记录',
    key: 'RecordList',
    component: 'RecordList',
  },
  {
    title: '月统计',
    key: 'MonthlyStatistics',
    component: 'MonthlyStatistics',
  },
  {
    title: '年统计',
    key: 'YearStatistics',
    component: 'YearStatistics',
  },
];
